#!/bin/bash
work_path=$(dirname $0)
cd ${work_path}
CURRENT_PATH=$PWD
rm $CURRENT_PATH/editor/fonts -rf 
mkdir $CURRENT_PATH/editor/fonts
cp $CURRENT_PATH/resource/fonts/* $CURRENT_PATH/editor/fonts
if [ ! -d $CURRENT_PATH/resource/userFonts  ];then
        mkdir $CURRENT_PATH/resource/userFonts
fi

cp $CURRENT_PATH/resource/userFonts/*  $CURRENT_PATH/editor/fonts
export BISHENGPATH=$CURRENT_PATH/editor

./bin/tools -type=64 -config=config.yml 
exit;
